<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ include file="validausuario.jsp"%>
<%
	String perfilUser = (String)session.getAttribute("perfil");
	if (!perfilUser.equals("Admin")) {
		response.sendRedirect("accesodenegado.jsp");
		return;
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Carga Archivo</title>
<LINK REL="stylesheet" TYPE="text/css" HREF="main.css">
<script src="js/prototype.js" language="JavaScript"></script>
<link rel="Shortcut Icon" href="icono_tm.ico" type="image/x-icon" />
</head>
<body>
	<%@ include file="header.jsp"%>
	<h2>Subir archivo</h2>
	<form action="subir.jsp" enctype="MULTIPART/FORM-DATA" method="post">
            <input type="file" name="file" size=60/><br/>
            <input type="submit" value="Upload" />
    </form>
	
	
	<%@ include file="foot.jsp"%>
</body>
</html>